<template>
  <div class="demo-title">ellipsis/demo1</div>
  <div class="ellipsis1">
    <div class="ellipsis1-bg">
      <Ellipsis 
        content="This was long before digital audio: this was done with razor blades. Today, it's called sampling, and the influence of these bands is felt in nearly all branches of modern pop music." 
        :rows=2 
        direction="end"
      />
    </div>
  </div>
</template>

<script lang="ts" setup>
  import Ellipsis from '@sscd-mobile/ellipsis'
</script>

<style lang="less" scoped>
.ellipsis1 {
  background-color: white;
  height: 90px;
  .ellipsis1-bg {
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
</style>
